package com.imooc.ad.constant;

import lombok.Getter;

/**
 * @Description: TODO
 * @ClassName: CommonStatus
 * @Author: zhangzhongyu
 * @Date: 2019-10-12 15:30
 * @Version: 1.0
 */
@Getter
public enum CommonStatus {

    VALID(1,"有效状态"),
    INVALID(0, "无效状态"),
    ;

    private Integer code;

    private String message;

    CommonStatus(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
